export default class RecordItem {
  id: string
  startTime: Date
  endTime: Date

  constructor(id: string, startTime?: Date, endTime?: Date) {
    this.id = id
    if (startTime) {
      this.startTime = startTime
    }
    if (endTime) {
      this.endTime = endTime
    }
  }
}